#ifndef STARSYSTEM_H
#define STARSYSTEM_H

#include <iostream>
#include <string> //strlen
#include <vector>

#include "allegro.h"
#include "alleggl.h"



using namespace std;



class starSystem {

    private:

        // structures
        struct structStar {
            float x, y;
            int typ;
        };

		int MapX, MapY;
		int ScreenX, ScreenY;

		bool running;


        // stars
        vector<structStar> Stars;
        int StarsCNT;


        // grafics
        BITMAP *sfSmall, *sfMedium, *sfBig;


	public:
		starSystem();
		~starSystem();

		void Init(int pIntensity);
         int Draw(void);
        void Calculate(int pFactor);
};

#endif // STARSYSTEM_H
